@/*
表单中input框标签中各个参数的说明:

hidden : input hidden框的id
id : input框id
name : input框名称
readonly : readonly属性
clickFun : 点击事件的方法名
style : 附加的css属性
@*/
<ul id="${id}" name="${id}">
    @for(item in list){
    <div class="row">
        <li value="${item.id}">${item.customerName}&nbsp;&nbsp;${item.customerPhone}&nbsp;&nbsp;${item.phoneSharShip}
            &nbsp;&nbsp;${item.sex}&nbsp;&nbsp;${item.customerAge}
            <button type="button" class="btn btn-default add${item.id}" id="add${item.id}" value="${item.id}">补单</button>
        </li>
    </div>
    <script>
        var add${item.id} = document.getElementsByClassName('add${item.id}')[0];    //加
        add${item.id}.onclick = function () {
            var index = layer.open({
                type: 2,
                title: '到店客户补单',
                area: ['90%', '90%'], //宽高
                fix: true, //不固定
                maxmin: true,
                content: Feng.ctxPath + '/reservations/reservationsSupplement/' + document.getElementById('add${item.id}').value
            });
            this.layerIndex = index;
        };
    </script>
    @}
</ul>
@if(isNotEmpty(underline) && underline == 'true'){
<div class="hr-line-dashed"></div>
@}


